Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve accessibility of ComboBox widgets #7514

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

DataTriny
Copy link
Contributor

This improves how ComboBox widgets are represented in the accessibility tree so that they can be interacted with using assistive technologies. The "expanded state" is still unusable for now but since the value is properly reported, arrow keys can already be used to pick a choice without opening the popup.

The AccessKit platform adapters currently don't expose the Node::is_expanded property to the various accessibility layers, but this is expected to ship in the next release or so. Testing was performed with a branch of mine.

Changelog

  • Improved accessibility of ComboBox widgets
  • Added accessible-expandable and accessible-expanded properties, as well as accessible-action-expand.

@DataTriny DataTriny force-pushed the combobox-accessibility-fixes branch from 00b7d43 to 0d48025 Compare February 2, 2025 18:50
@DataTriny DataTriny force-pushed the combobox-accessibility-fixes branch from 0d48025 to bf3ac6b Compare February 2, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant